var config = require("core/config");
var host = config.host;

var coupon = host + "/coupon";

var baseUrl = coupon + "/base";
var userUrl = coupon + "/user";
module.exports.url = {
	base : {
		page : baseUrl + "/page",
		getCjRules : baseUrl + "/getCjRules"
	},
	user : {
		homemakingCoupon : userUrl + "/homemakingCoupon",
		mallCoupon : userUrl + "/mallCoupon",
		qmallCoupon : userUrl + "/qmallCoupon",
		managePage: userUrl + "/managePage",
		toBuy: userUrl + "/toBuy",
		buy: userUrl + "/buy",
		getUnusedCoupon: userUrl + "/getUnusedCoupon"
	}
};
